﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace SmartPlant.Model.DbContext
{
    /// <summary>
    ///
    ///</summary>
    [SugarTable("DRAWING_TYPE")]
    public class DrawingType
    {
        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "DWG_TYPE_ID", IsPrimaryKey = true)]
        public decimal DwgTypeId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PROJ_ID")]
        public decimal ProjId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SITE_ID")]
        public decimal SiteId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CHG_NUM")]
        public decimal ChgNum { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "USER_NAME")]
        public string UserName { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CHG_STATUS")]
        public string ChgStatus { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CHG_DATE")]
        public DateTime? ChgDate { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "DWG_TYPE_DESC")]
        public string DwgTypeDesc { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "DWG_TYPE_NAME")]
        public string DwgTypeName { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "DWG_TYPE_REF_ID")]
        public decimal? DwgTypeRefId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "REPORT_FLG")]
        public string ReportFlg { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CUSTOM_TITLE_BLK")]
        public string CustomTitleBlk { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CUSTOM_LOCATION")]
        public string CustomLocation { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "REPORT_TYPE")]
        public string ReportType { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "REPORT_GROUP")]
        public decimal? ReportGroup { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "TB_STYLE_ID")]
        public decimal? TbStyleId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "REV_SAVE_FLG")]
        public string RevSaveFlg { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "REV_SAVE_PATH")]
        public string RevSavePath { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "UNIT_TYPE")]
        public string UnitType { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "ENG_PROJ_ID", IsPrimaryKey = true)]
        public decimal EngProjId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "ENG_REF_ID")]
        public decimal? EngRefId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SAVE_REV_DATA_FLG")]
        public string SaveRevDataFlg { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "DWG_TYPE_ENTITY_ID")]
        public decimal? DwgTypeEntityId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "DOC_PREFIX")]
        public string DocPrefix { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "DOC_SUFFIX")]
        public string DocSuffix { get; set; }
    }
}
